package com.coder.bike.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coder.bike.entity.Staff;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 沈诩宸
 * @since 2025-04-22
 */
public interface IStaffService extends IService<Staff> {
    Staff selectByUsername(String username);
    List<String> selectRoleName(int id);
    Page<Staff> searchByPage(Page<Staff> page, Staff user);
    boolean delete(String ids);

    Staff selectByPhone(String phone);
}
